#pragma once
#include "afxwin.h"


// CStationAdd dialog

class CStationAdd : public CDialogEx
{
	DECLARE_DYNAMIC(CStationAdd)

public:
	CStationAdd(CWnd* pParent, CMeasureSolution& solution,
    CMeasureProject& project);
	virtual ~CStationAdd();

// Dialog Data
	enum { IDD = IDD_STATION_ADD };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
  virtual BOOL OnInitDialog();

public:
  tstring Name(void) { return name_.GetBuffer(0); }
  tstring cmd_name(void) { return cmd_name_.GetBuffer(0); }
  tstring camera(void) { return camera_.GetBuffer(0); }
  tstring model(void) { return model_.GetBuffer(0); }
  BOOL find_model(void) const { return find_model_; }

private:
  CMeasureSolution& solution_;
  CMeasureProject& project_;
  CString name_;
  CString camera_;
  CComboBox wnd_camera_list_;
  CComboBox wnd_model_list_;
  CString model_;
  CComboBox wnd_cmd_list_;
  CString cmd_name_;
  BOOL find_model_;
  CButton wnd_find_model_;
};
